package com.campus.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 * 宿管表
 * @author Alaskaboo
 * @TableName t_room_manager
 */
@TableName(value ="t_room_manager")
@Data
public class RoomManager implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 工号
     */
    @TableField(value = "account")
    private String account;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 教师身份证号
     */
    @TableField(value = "identity")
    private String identity;

    /**
     * 教师电话
     */
    @TableField(value = "tel")
    private String tel;

    /**
     * 寝室
     */
    @TableField(value = "bedroom")
    private String bedroom;

    /**
     * 头像
     */
    @TableField(value = "avatar")
    private String avatar;

    /**
     * 教师学历
     */
    @TableField(value = "degree")
    private String degree;

    /**
     * 删除标志（0代表未删除，1代表已删除）
     */
    @TableLogic(value = "del_flag")
    private Integer del_flag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}